package com.tidc.seaservermodel.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * (Shop)实体类
 *
 * @author makejava
 * @since 2020-09-22 09:04:27
 */
@Data
@NoArgsConstructor
@Accessors(chain = true) //这个注解可以使这个类的set方法返回当前对象
public class Shop implements Serializable {
    private static final long serialVersionUID = 873943424208294165L;
    
    private Integer id;
    
    private Integer userId;
    @NotNull(message = "名字不能为空")
    private String name;
    
    private String introduce;
    @NotNull(message = "需求等级不能为空")
    private Integer prepositionLevel;
    @NotNull(message = "金额不能为空")
    private Integer money;
    @NotNull(message = "数量不能为空")
    private Integer amount;

    private String url;
    private Integer timeout;
    private Integer isShow;
    private Timestamp updateTime;
    private Integer isDelete;



}